package com.rockcent.mall.lib.repository;

import com.rockcent.mall.lib.domain.MallProductReason;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * Created by Marco on 16-11-16.
 * 产品下架原因
 */
@Repository
public interface MallProductReasonRepository extends JpaRepository<MallProductReason, Long>, JpaSpecificationExecutor {
    MallProductReason findByProductId(Long productId);
}
